package com.example.tome.component_router.retrofit.exception;

/**
 * @Created by TOME .
 * @时间 2018/5/4 13:58
 * @描述 ${TODO}
 */

public class ServerException extends Exception{

    private int code;

    public ServerException(String message) {
        super(message);
    }

    public ServerException(String message, int code) {
        super(message);
        this.code = code;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

}
